package cn.getech.data.metadata.api;

import cn.getech.data.metadata.api.gateway.model.dto.OwnerRes;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface CollectionTableInfoApi {

    @RequestMapping(value = "/api/dataMetadata/getAllPath",method = RequestMethod.POST)
    String getAllPath(@RequestParam("moduleId")Integer moduleId);

    @RequestMapping(value = "/api/dataMetadata/getCollectionSystemTree",method = RequestMethod.POST)
    List<OwnerRes> getCollectionSystemTree(@RequestParam("tenantId")Integer tenantId);

}
